8  Blockchain

* Hashing is a method of applying a cryptographic hash function to data,

which calculates a relatively unique output (called a message digest, or just

digest) for an input of nearly any size (e.g., a file, text, or image).

Blockchain technology summary

• Shared Ledger

History of all transactions

Append only with immutable history

Distributed and replicated

• Cryptography

Integrity of shared ledger

Authenticity of transactions

Privacy of transactions

Identification of participants

• Consensus

Decentralised protocol

Transaction validation

Network Integrity

• Shared Contract

Embedded login within the ledger

Self-enforcing ‘smart contracts’

Types of blockchain (public/private/

consortium/hybrid)

There are four categories of blockchains that have emerged since Bitcoin

was launched as a successful use case for a public blockchain:

1. Public blockchain: They are fully decentralised, have no single owner-

ship, are highly censorship-resistant and have tokens associated with

them to incentivise/reward the participants in the network.

2. Private blockchain: They are also known as permissioned block-

chains. In these blockchains, participants need consent to join the

network, transactions are private and are only available to ecosystem

participants. They are more centralised.

3. Consortium blockchain: They are like private blockchains but are

governed by a group rather than a single entity. They can be treated as

a sub-category of private blockchain.

4. Hybrid blockchain: These chains combine features of a private and

public blockchain. This gives businesses significant flexibility to

choose what data can be made public and what data they want to

keep private (Figure 1.4).